public class BicycleDemo {

	public static void main(String[] args) {

		Bicycle hero = new Bicycle();

		hero.color = "red";
		hero.model = "honda";
		hero.maximumSpeed = 160;

		System.out.println("the bicycle has started = " + hero.hasStarted);

		hero.accelerate(20);
		hero.accelerate(30);
		System.out.println("currentSpeed =" + hero.currentSpeed);

		hero.bicycleInfo();
		int currentSpeed = hero.accelerate(50);
		System.out.println("bicycleinfo is =" + currentSpeed);

		hero.bicycleInfo();
		if (hero.isMaximumSpeed(160)) {

			hero.hasStarted = true;
			hero.hasGear = true;
		}
		System.out.println("the maximumSpeed=" + hero.maximumSpeed);

	}

}
